a11y: Add bounds rectangle to GtkAccessible
authorLukáš Tyrychtr <lukastyrychtr@gmail.com>
Mon, 12 Sep 2022 09:55:06 +0000 (11:55 +0200)
committerEmmanuele Bassi <ebassi@gnome.org>
Fri, 3 Feb 2023 10:49:17 +0000 (11:49 +0100)
commit5813a5cace2df1e8e61eb7898031676b22dbbe25
treeb0aa229ef6eaed70b519753e330c5d3d08cf3df0
parentf88b777fe5bf4b6e3e14c88c7cdd673b66c13745
a11y: Add bounds rectangle to GtkAccessible

Make the bounds calculation part of the accessible interface.

Bounds are used by ATs like Orca to implement features like Flat Review:

https://help.gnome.org/users/orca/stable/howto_flat_review.html.en

Or to determine the area of a non-presentational widget.
gtk/a11y/gtkatspicontext.c
gtk/gtkaccessible.c
gtk/gtkaccessibleprivate.h
gtk/gtkwidget.c